package org.adream.account.model;

import java.io.Serializable;

public class LoginModel implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2544836605006150873L;

	private String login;

	private String password;

	private String salt;
	
	private String uid;  //user id
	
	private String method;

	public LoginModel(String login, String password, String salt, String uid,String method) {
		super();
		this.login = login;
		this.password = password;
		this.salt = salt;
		this.uid = uid;
		this.method = method;
	}

	public LoginModel() {
		super();
	}

	public String getLogin() {
		return login;
	}

	public void setLogin(String login) {
		this.login = login;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSalt() {
		return salt;
	}

	public void setSalt(String salt) {
		this.salt = salt;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}
	
	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getTable() {
		return "cas_login";
	}
}